package com.xydtech.ecard.custgroup.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 电子名片社团组织拜访记录对象 ecard_customer_organize_visit
 *
 * @author yuzhiguo
 * @date 2024-11-29 上午11:19
 */
public class EcardApiCustomerOrganizeVisit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 社团组织ID */
    @Excel(name = "社团组织ID")
    private Long organizeId;

    /** 创建人注册ID */
    @Excel(name = "创建人注册ID")
    private Long creatorId;

    /** 创建人机构ID */
    @Excel(name = "创建人机构ID")
    private Long deptId;

    /** 坐标 */
    @Excel(name = "坐标")
    private String coordinate;

    /** 法人机构ID */
    @Excel(name = "法人机构ID")
    private Long corpId;

    /** 拜访图片 */
    @Excel(name = "拜访图片")
    private String visitPic;

    /** 营销记录 */
    @Excel(name = "营销记录")
    private String ecardSemResult;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 下次回访日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次回访日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reminderDate;

    /** 地图地址 */
    @Excel(name = "地图地址")
    private String mapAddress;

    /** 电子名片-拜访状态，0：无效，1：有效 */
    @Excel(name = "电子名片-拜访状态，0：无效，1：有效")
    private Integer state;

    /** 社团组织管户人id */
    @Excel(name = "社团组织管户人id")
    private Long managementPersonnelId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrganizeId(Long organizeId)
    {
        this.organizeId = organizeId;
    }

    public Long getOrganizeId()
    {
        return organizeId;
    }
    public void setCreatorId(Long creatorId)
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId()
    {
        return creatorId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setCoordinate(String coordinate)
    {
        this.coordinate = coordinate;
    }

    public String getCoordinate()
    {
        return coordinate;
    }
    public void setCorpId(Long corpId)
    {
        this.corpId = corpId;
    }

    public Long getCorpId()
    {
        return corpId;
    }
    public void setVisitPic(String visitPic)
    {
        this.visitPic = visitPic;
    }

    public String getVisitPic()
    {
        return visitPic;
    }
    public void setEcardSemResult(String ecardSemResult)
    {
        this.ecardSemResult = ecardSemResult;
    }

    public String getEcardSemResult()
    {
        return ecardSemResult;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setReminderDate(Date reminderDate)
    {
        this.reminderDate = reminderDate;
    }

    public Date getReminderDate()
    {
        return reminderDate;
    }
    public void setMapAddress(String mapAddress)
    {
        this.mapAddress = mapAddress;
    }

    public String getMapAddress()
    {
        return mapAddress;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public Long getManagementPersonnelId() {
        return managementPersonnelId;
    }

    public void setManagementPersonnelId(Long managementPersonnelId) {
        this.managementPersonnelId = managementPersonnelId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("organizeId", getOrganizeId())
                .append("creatorId", getCreatorId())
                .append("deptId", getDeptId())
                .append("coordinate", getCoordinate())
                .append("corpId", getCorpId())
                .append("visitPic", getVisitPic())
                .append("ecardSemResult", getEcardSemResult())
                .append("remark", getRemark())
                .append("creationTime", getCreationTime())
                .append("reminderDate", getReminderDate())
                .append("mapAddress", getMapAddress())
                .append("state", getState())
                .append("managementPersonnelId", getManagementPersonnelId())
                .toString();
    }
}
